import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/production-report/page-query/production-progress',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};

// 根据工艺路线ID,查询工艺路线与详情
export const getOverStationInfo = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/production-trace/page-query/forward-trace-work-order-over-station-info',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};